package com.question.dao;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import com.question.entity.Blank;
@Repository
public interface BlankRepository extends PagingAndSortingRepository<Blank, Long>, JpaSpecificationExecutor<Blank> {
	@Query(value="from Blank b where b.num=?1")
	public Blank findByNum(String num);
}
